{$header}
<div id="main" class="main" >
    <div class="content">
  <h3 class="heading">新增供应商 [ <a href="__URL__">返回供应商列表</a> ] [ <a href="javascript:history.back(-1)">返回上一次操作</a> ]</h3>
<div id="result" class="result none"></div>
<form class="form-horizontal well" method='post' id="form1" action="__URL__/insert/">
<table cellpadding=3 cellspacing=3 >
<tr>
	<td class="tRight" >公司中文名称：</td>
	<td class="tLeft" >
            <input type="text" name="name" value="" class="input-large">
        </td>
</tr>
<tr>
	<td class="tRight" >公司英文名称：</td>
	<td class="tLeft" >
            <input type="text" name="ename" value="" class="large">
        </td>
</tr>
<tr>
	<td class="tRight" >地址：</td>
	<td class="tLeft" >
            <input type="text"  class="large"  name="address" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >电话：</td>
	<td class="tLeft" >
            <input type="text"  class="large"  name="phone" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >传真：</td>
	<td class="tLeft" >
            <input type="text"  name="fax" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >email：</td>
	<td class="tLeft" >
            <input type="text"  name="email" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >网址：</td>
	<td class="tLeft" >
            <input type="text"  name="website" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >主要联系人：</td>
	<td class="tLeft" >
            <input type="text"  name="contact_id" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >主要联系人 QQ：</td>
	<td class="tLeft" >
            <input type="text"  name="qq" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >主要联系人 手机：</td>
	<td class="tLeft" >
            <input type="text"  name="mobile" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >主要联系人 电话：</td>
	<td class="tLeft" >
            <input type="text"  name="phone" value="" />
        </td>
</tr>
<tr>
	<td class="tRight" >供应商等级</td>
	<td class="tLeft" >
            {:configList(C('supplier_rank'),-1,'rank' )}
            <span class="alert"> 主要从合作次数，相互关系 ，产品合格率，交货及时率，服务态度 等方面考评 </span>
        </td>
</tr>
<tr>
	<td class="tRight" >付款资料：</td>
	<td class="tLeft" >
		<textarea class="input-xxlarge" id="textarea" name="bill_info" rows="3"></textarea>
    </td>
</tr>
<tr>
	<td class="tRight" >开票资料：</td>
	<td class="tLeft" >
		<textarea class="input-xxlarge" id="textarea" name="invoice_info" rows="3"></textarea>
    </td>
</tr>
<tr>
	<td class="tRight" >简介：</td>
	<td class="tLeft" ><textarea name="profile" rows="5" class="input-xxlarge"></textarea>
        </td>
</tr>
<tr>
	<td class="tRight" >排序：</td>
	<td class="tLeft" >
            <input type="text"  name="sort" value="" />常用的供应商可以排序位小些，排在前面
        </td>
</tr>
<tr>
	<notempty name="_REQUEST.return">
			<input type="hidden" name="jumpUrl" value="{$_REQUEST.return}">
			<input type="hidden" name="rid" value="{$_REQUEST.rid}">
	</notempty>

	<td class="tRight">状态：</td>
	<td class="tLeft"><SELECT class="small bLeft"  name="status">
	<option value="1">启用</option>
	<option value="0">禁用</option>
	</SELECT></td>
</tr>
<tr>
	<td></td>
	<td class="center">
	<button type="submit" class="btn btn-primary"><i class="icon-ok icon-white"></i> 保存</button>
	<a class="btn btn-primary offset1" href="__URL__"><i class="icon-arrow-left icon-white"></i>返回</a>
	</td>
</tr>
</table>
</form>
</div>
</div>
<include file="Public:footer" />
